package com.ruoyi.customerSample.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 原因解决反馈对象 customer_feedback
 * 
 * @author ruoyi
 * @date 2023-10-13
 */
@ApiModel("原因解决反馈")
public class CustomerFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 项目id */
    @Excel(name = "项目id")
    private String itemId;

    /** 项目编号 */
    @ApiModelProperty(value = "项目编号", position = 1)
    @Excel(name = "项目编号")
    private String itemNum;

    /** 反馈内容 */
    @ApiModelProperty(value = "反馈内容", position = 2)
    @Excel(name = "反馈内容")
    private String reason;

    /** 解决方法 */
    @ApiModelProperty(value = "解决方法", position = 9)
    @Excel(name = "解决方法")
    private String improvement;

    /** 提议人 */
    @ApiModelProperty(value = "提议人", position = 3)
    @Excel(name = "提议人")
    private String advisor;

    /** 提议时间 */
    @ApiModelProperty(value = "提议时间" , position = 4)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提议时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date advTime;

    /** 反馈单位名称 */
    @ApiModelProperty(value = "反馈单位名称" , position = 5)
    @Excel(name = "反馈单位名称")
    private String feedbackCus;

    /** 反馈单位负责人 */
    @ApiModelProperty(value = "反馈单位负责人" , position = 6)
    @Excel(name = "反馈单位负责人")
    private String feedbacker;

    /** 反馈时间 */
    @ApiModelProperty(value = "反馈时间" , position = 7)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "反馈时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date feedbackTime;

    /** 状态(1.未反馈，2.已处理） */
    @ApiModelProperty(value = "状态(1.未处理，2.已处理）", position = 8)
    @Excel(name = "状态(1.未反馈，2.已处理）")
    private String state;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setItemNum(String itemNum) 
    {
        this.itemNum = itemNum;
    }

    public String getItemNum() 
    {
        return itemNum;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setImprovement(String improvement) 
    {
        this.improvement = improvement;
    }

    public String getImprovement() 
    {
        return improvement;
    }
    public void setAdvisor(String advisor) 
    {
        this.advisor = advisor;
    }

    public String getAdvisor() 
    {
        return advisor;
    }
    public void setAdvTime(Date advTime) 
    {
        this.advTime = advTime;
    }

    public Date getAdvTime() 
    {
        return advTime;
    }
    public void setFeedbackCus(String feedbackCus) 
    {
        this.feedbackCus = feedbackCus;
    }

    public String getFeedbackCus() 
    {
        return feedbackCus;
    }
    public void setFeedbacker(String feedbacker) 
    {
        this.feedbacker = feedbacker;
    }

    public String getFeedbacker() 
    {
        return feedbacker;
    }
    public void setFeedbackTime(Date feedbackTime) 
    {
        this.feedbackTime = feedbackTime;
    }

    public Date getFeedbackTime() 
    {
        return feedbackTime;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemId", getItemId())
            .append("itemNum", getItemNum())
            .append("reason", getReason())
            .append("improvement", getImprovement())
            .append("advisor", getAdvisor())
            .append("advTime", getAdvTime())
            .append("feedbackCus", getFeedbackCus())
            .append("feedbacker", getFeedbacker())
            .append("feedbackTime", getFeedbackTime())
            .append("state", getState())
            .toString();
    }
}
